\hypertarget{structbus__status__struct}{
\section{bus\_\-status\_\-struct Struct Reference}
\label{structbus__status__struct}\index{bus\_\-status\_\-struct@{bus\_\-status\_\-struct}}
}
{\tt \#include $<$bus.h$>$}

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
\hypertarget{structbus__status__struct_9a40dc9828f943c44b95e5b4a176e12d}{
unsigned char \hyperlink{structbus__status__struct_9a40dc9828f943c44b95e5b4a176e12d}{frame\_\-counter}}
\label{structbus__status__struct_9a40dc9828f943c44b95e5b4a176e12d}

\begin{CompactList}\small\item\em Counter which keeps track of which frame (slot) we are in. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_48f22f9b354b854c7e65976391f238ad}{
unsigned char \hyperlink{structbus__status__struct_48f22f9b354b854c7e65976391f238ad}{ext\_\-addr}}
\label{structbus__status__struct_48f22f9b354b854c7e65976391f238ad}

\begin{CompactList}\small\item\em The address of this device. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_96e448a81eba4ed327cad6fae3d5a5e7}{
unsigned int \hyperlink{structbus__status__struct_96e448a81eba4ed327cad6fae3d5a5e7}{lower\_\-limit}}
\label{structbus__status__struct_96e448a81eba4ed327cad6fae3d5a5e7}

\begin{CompactList}\small\item\em The lower limit of the time slot. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_e14f11394e77c7290db105e1728bf546}{
unsigned int \hyperlink{structbus__status__struct_e14f11394e77c7290db105e1728bf546}{upper\_\-limit}}
\label{structbus__status__struct_e14f11394e77c7290db105e1728bf546}

\begin{CompactList}\small\item\em The upper limit of the time slot. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_3762bd8a130d245b2eb5e2f480ee0909}{
unsigned char \hyperlink{structbus__status__struct_3762bd8a130d245b2eb5e2f480ee0909}{device\_\-count}}
\label{structbus__status__struct_3762bd8a130d245b2eb5e2f480ee0909}

\begin{CompactList}\small\item\em Nr of devices on the bus. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_77f6e56dc4ede20b2e0272da3dcc3d1e}{
unsigned int \hyperlink{structbus__status__struct_77f6e56dc4ede20b2e0272da3dcc3d1e}{device\_\-count\_\-mult}}
\label{structbus__status__struct_77f6e56dc4ede20b2e0272da3dcc3d1e}

\begin{CompactList}\small\item\em Nr of devices are x 4 so we don't need to do the division. \item\end{CompactList}\item 
unsigned int \hyperlink{structbus__status__struct_992015a05b62e4fed7aca512c79fa43f}{flags}
\item 
\hypertarget{structbus__status__struct_88ac4fc18b7b674b56a8e10f5682d2d4}{
unsigned char \hyperlink{structbus__status__struct_88ac4fc18b7b674b56a8e10f5682d2d4}{char\_\-count}}
\label{structbus__status__struct_88ac4fc18b7b674b56a8e10f5682d2d4}

\begin{CompactList}\small\item\em The char count of the received message. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_5707b844671927864dc05377ddbc139e}{
unsigned char \hyperlink{structbus__status__struct_5707b844671927864dc05377ddbc139e}{send\_\-count}}
\label{structbus__status__struct_5707b844671927864dc05377ddbc139e}

\begin{CompactList}\small\item\em The number of times the last message was sent. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_c95bc069ac43b36614fc792d7f80e435}{
unsigned char \hyperlink{structbus__status__struct_c95bc069ac43b36614fc792d7f80e435}{prev\_\-char}}
\label{structbus__status__struct_c95bc069ac43b36614fc792d7f80e435}

\begin{CompactList}\small\item\em The previous character received. \item\end{CompactList}\item 
\hypertarget{structbus__status__struct_db0f8de82df21857fa92b57a1ed4b80e}{
unsigned char \hyperlink{structbus__status__struct_db0f8de82df21857fa92b57a1ed4b80e}{wraparounds}}
\label{structbus__status__struct_db0f8de82df21857fa92b57a1ed4b80e}

\begin{CompactList}\small\item\em The number of wrap arounds. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
The bus status structure 

Definition at line 262 of file bus.h.

\subsection{Member Data Documentation}
\hypertarget{structbus__status__struct_992015a05b62e4fed7aca512c79fa43f}{
\index{bus\_\-status\_\-struct@{bus\_\-status\_\-struct}!flags@{flags}}
\index{flags@{flags}!bus_status_struct@{bus\_\-status\_\-struct}}
\subsubsection[{flags}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf bus\_\-status\_\-struct::flags}}}
\label{structbus__status__struct_992015a05b62e4fed7aca512c79fa43f}


See details in defines 

Definition at line 276 of file bus.h.

Referenced by bus\_\-allowed\_\-to\_\-send(), bus\_\-check\_\-tx\_\-status(), bus\_\-init(), bus\_\-is\_\-master(), bus\_\-message\_\-acked(), bus\_\-message\_\-nacked(), bus\_\-resend\_\-message(), bus\_\-reset\_\-rx\_\-status(), bus\_\-reset\_\-tx\_\-status(), bus\_\-send\_\-message(), bus\_\-set\_\-is\_\-master(), and ISR().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
wmv\_\-bus/\hyperlink{bus_8h}{bus.h}\end{CompactItemize}
